<div class="panel panel-default form-horizontal">
  <div class="panel-heading">预订信息</div>
  <div class="panel-body">

    <div class="container-fluid">
      <div class="col-xs-3">
        <div class="input-group">
          <span class="input-group-btn">
            <button class="btn btn-default" type="button">预定人数</button>
          </span>
          <input type="number" class="form-control" placeholder="请输入添加人数" ng-model="num">
          <span class="input-group-btn">
            <button class="btn btn-default" type="button" ng-click="add(num)">确认</button>
          </span>
        </div>
      </div>
      <div class="col-xs-4">
        <div class="input-group">
          <input type="file" id="excel" class="form-control">
          <span class="input-group-btn">
            <button class="btn btn-default" type="button" ng-click="export()">导入</button>
          </span>
          <span class="input-group-btn">
            <a class="btn btn-default" href="http://oss.juyouhx.com/CDN/group_model.xls">下载模板</a>
          </span>
        </div>
      </div>
      <div class="col-xs-2">
        <div class="form-group">
          <label class="col-sm-4 control-label text-right">总价</label>
          <div class="col-sm-8">
            <p class="form-control-static">{{totalprice * 0.01 | currency : '￥'}}</p>
          </div>
        </div>
      </div>
      <div class="col-xs-3">
        <div class="form-group">
          <label class="col-sm-3 control-label text-right">票种</label>
		  <div class="col-sm-9">
            <p class="form-control-static">{{goodarr[0].goods_name}}</p>
          </div>
        </div>
      </div>

      <table class="table table-bordered">
        <thead>
          <tr>
            <th class="text-center col-xs-1">序号</th>
            <th class="text-center col-xs-1">姓名</th>
            <th class="text-center col-xs-2">电话</th>
            <th class="text-center" style="width: 10%">证件类型</th>
            <th class="text-center col-xs-2">证件号</th>
            <th class="text-center col-xs-1">价格</th>
            <th class="text-center col-xs-1" ng-if="type == 'F95'">补贴金额</th>
            <th class="text-center col-xs-1" ng-if="type == 'F95'">校验状态</th>
            <th class="text-center col-xs-1" ng-if="type == 'F95'">校验结果</th>
            <th class="text-center col-xs-1">操作</th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="obj in objs">
            <td class="text-center" style="vertical-align: middle;">{{$index+1}}</td>
            <td>
              <input type="text" class="form-control" placeholder="姓名" ng-model="obj.name" ng-disabled="obj.disabled">
            </td>
            <td>
			        <input type="text" class="form-control" placeholder="请输入电话" ng-model="obj.mobile">
		      	</td>
            <td>
              <select class="form-control" ng-model="obj.card_type" ng-disabled="obj.disabled">
                <option value="1">身份证</option>
                <option value="2">护照</option>
              </select>
            </td>
            <td>
              <input type="text" class="form-control" placeholder="请输入证件号" ng-model="obj.cardno" ng-disabled="obj.disabled" ng-blur="check2(obj)">
            </td>
            <td class="text-center" style="vertical-align: middle;">{{obj.pay_price * 0.01 | currency : '￥'}}</td>
            <td class="text-center" style="vertical-align: middle;" ng-if="type == 'F95'">{{obj.usesubsidy | currency : '￥'}}</td>
            <td class="text-center" style="vertical-align: middle;" ng-if="type == 'F95'">{{obj.check_status == 1 ? '完成' : '检验中'}}</td>
            <td class="text-center" ng-if="type == 'F95'">{{obj.msg}}</td>
            <td class="text-center">
              <a ng-click="del($index)" class="btn" style="color: red; padding:0px; padding-top: 5px;">
                <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
              </a>
            </td>
          </tr>
        </tbody>
      </table>

      <div class="panel panel-success">
        <div class="panel-heading">预定需知</div>
        <div class="panel-body tinfo">
          <p ng-bind-html="bookingnotes | trustHtml"></p>
        </div>
      </div>

    </div>
  </div>
  <div class="modal-footer" style='text-align:center;'>
    <div class="col-xs-12">
      <p class="text-danger">实际使用补贴情况以下单为准</p>
    </div>
    <div class="col-xs-12">
      <button class="btn btn-primary" type="button" ng-click="go()">提交</button>
      <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
    </div>
  </div>
</div>